package com.second.app.designpattern.singleinstance;

/**
 * @Author GYZ
 * @Date 2023/7/27
 * <pre>
 *   静态常量
 * </pre>
 */
public class SingletonInstance01 {
    private SingletonInstance01(){

    }

    private static final SingletonInstance01 instance  = new SingletonInstance01();

    public static SingletonInstance01 getInstance(){

        return instance;
    }
}
